-
Notifications
You must be signed in to change notification settings - Fork 40
Modernize Build Tool Support #839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Tests against currently maintained build tool versions and compatible JDKs Update bundled tools in docker image
| case object Scala_LTS extends Scala("3.3.7", noRestrictions) | ||
| case object Scala2_13 extends Scala("2.13.18", noRestrictions) | ||
| case object Scala2_11 extends Scala("2.11.12", noRestrictions) | ||
| case object Scala2_10 extends Scala("2.10.7", noRestrictions) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have Scala2_10 here, I don't see any usage?
| // See https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html#build-tool-compatibility-table | ||
| case object SBT15 extends SBT("1.5.2", atMostJava(17)) | ||
| case object SBT110 extends SBT("1.10.0", noRestrictions) | ||
| case object SBT112 extends SBT("1.11.7", noRestrictions) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SBT112 name is confusing here. I think this should be SBT111 if you mean 1.11.7 so either rename STB or use actual 1.12.x version
| echo "${MILL_REPO_URL}/releases" 1>&2 | ||
| false | ||
| fi | ||
| echo "The --mill-version option is no longer supported." 1>&2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may need to shift
| case object Scala211 extends Scala("2.11.9", atMostJava(11)) | ||
| case object Scala3 extends Scala("3.3.3", noRestrictions) | ||
| case object Scala_Next extends Scala("3.7.4", noRestrictions) | ||
| case object Scala_LTS extends Scala("3.3.7", noRestrictions) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: In Java either SCALA_LTS or ScalaLts (optionally ScalaLTS) same for Scala2_13 and so on. But since this code base seems to already use similar convention here and there this is fully optional.
| case object Scala_Next extends Scala("3.7.4", noRestrictions) | ||
| case object Scala_LTS extends Scala("3.3.7", noRestrictions) | ||
| case object Scala2_13 extends Scala("2.13.18", noRestrictions) | ||
| case object Scala2_11 extends Scala("2.11.12", noRestrictions) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may need to add restrictions. Scala 2.11 is most likely not compatible with newer JDK. Probably javaBetween(8, 11) is reasonable
Add Java 25 support to scip-java docker image
Add a skill file to quickly update all available LTS JVM versions in the docker image
Test plan
Ensured the docker image was able to be built locally and tested locally indexing a Java 25 based project